package com.kele.client;

import com.kele.common.model.response.PageResult;
import com.kele.model.goods.Goods;
import com.kele.model.goods.dto.GoodsDTO;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@Component
public class GoodsFeignClientImpl implements GoodsFeignClient {

    public GoodsDTO selectById(@PathVariable Long id){
        System.out.println("进入熔断器");
        return null;
    }

    @Override
    public PageResult<Goods> findPage(Integer pageNo, Integer pageSize, Map serachMap) {
        System.out.println("进入熔断器");
        return null;
    }
}
